const { addMessage, getAllMessage } = require('../controllers/messageController')

const messageRouter = require('express').Router()

messageRouter.post('/addmessage', addMessage)
messageRouter.post('/getmessage', getAllMessage)

module.exports = messageRouter
